﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Dtos
{
    public class Result
    {
        public string Messege { get; set; }
        public int Code { get; set; }
        public object Data { get; set; }
        public int Count {  get; set; }
        public double Percen {  get; set; }

    }
    public class ResultT<T> where T : class
    {
        public string Messege { set; get; }
        public int Code { get; set; }
        public List<T> Data { get; set; }
        public List<T> Data1 { get; set; }
        public T Item { get; set; }
        
    }
    public class ResultPage<T> where T : class
    {
        public string Messege { set; get; }
        public int Code { get; set; }
        public List<T> Data { get; set; }
        public T Item { get; set; } 
        public int totalPage { get; set; }
        public int totalCount { get; set; }
    }
}
